package com.cskaoyan;



import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * 创建日期: 2022/07/05 14:39
 *
 * @author ciggar
 */
public class Main {

    public static void main(String[] args) throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException {

        Class<?> aClass = Class.forName("com.mysql.jdbc.Driver");

        Object object = aClass.newInstance();

        Class<?> aClass1 = object.getClass();

        String name = aClass1.getName();

        System.out.println("name:" + name);

        new com.mysql.jdbc.Driver();

    }
}
